package ru.kata.spring.boot_security.demo.services;

import ru.kata.spring.boot_security.demo.models.Role;

import java.util.List;

public interface RoleService {
    List<Role> getAllRoll();
    Role findByRoleId(long id);
    void save(Role role);
    Role getRoleByName(String name);
}
